package com.demo8.common.service;

import com.demo8.basic.enums.CaptchaEnum;
import com.demo8.common.domain.CaptchaBodyVO;

public interface ICaptchaStrategyService {
    /**
     * 返回验证码信息
     *
     * @param target  手机号/邮箱等
     * @return
     */
    CaptchaBodyVO generateCaptcha(String target);

    /**
     * 返回对应的枚举类型
     * @return
     */
    CaptchaEnum getType();

}
